package main

import "math"

func sumNums(n int) int {
	return int(math.Pow(float64(n), 2.0)+float64(n)) >> 1
}

func main() {
	println(sumNums(3))
}
